package en.edu.zxj.rabbit.extensions.demo.constant;

/**
 * Created with IntelliJ IDEA.
 * Description：
 *
 * @author: zxj
 * @date: 2024-09-20
 * @time: 19:36:18
 */
public class Constants {
    // 消费者消息确认测试
    public static final String ACK_EXCHANGE_NAME = "ack_exchange";
    public static final String ACK_QUEUE_NAME = "ack_queue";
    public static final String ACK_ROUTING_KEY = "ack";
    // 生产者消息确认测试
    public static final String CONFIRM_EXCHANGE_NAME = "confirm_exchange";
    public static final String CONFIRM_QUEUE_NAME = "confirm_queue";
    public static final String CONFIRM_ROUTING_KEY = "confirm";
    // 重试机制测试
    public static final String RETRY_EXCHANGE_NAME = "retry_exchange";
    public static final String RETRY_QUEUE_NAME = "retry_queue";
    public static final String RETRY_ROUTING_KEY = "retry";

    // ttl
    public static final String TTL_EXCHANGE_NAME = "ttl_exchange";
    public static final String TTL_QUEUE_NAME = "ttl_queue";
    public static final String TTL_QUEUE_NAME2 = "ttl_queue2";

    // 死信队列
    public static final String DLX_EXCHANGE_NAME = "dlx_exchange";
    public static final String DLX_QUEUE_NAME = "dlx_queue";
    public static final String DLX_ROUTING_KEY = "dlx";
    public static final String NORMAL_EXCHANGE_NAME = "normal_exchange";
    public static final String NORMAL_QUEUE_NAME = "normal_queue";
    public static final String NORMAL_ROUTING_KEY = "normal";

    // 延迟队列
    public static final String DELAY_EXCHANGE_NAME = "delay_exchange";
    public static final String DELAY_QUEUE_NAME = "delay_queue";
    public static final String DELAY_ROUTING_KEY = "delay";

}
